package com.itheima.prepare;

public class Method01 {
    public static void main(String[] args) {
        System.out.println(getMax());
    }
    public static int getMax(){
        int a =10;
        int b =20;
        if(a>b){
            return a;
        }else{
            return b;
        }
    }
}
